<?php
/**
 * FileName: SettingController.php
 * Author: 790213952@qq.com
 * DateTime: 2024/8/7 下午12:30
 * SystemName: Ymtc
 *
 */

namespace YmPhp\Admin\Http\Controllers\Setting;


use YmPhp\Admin\Http\Forms\SystemSettingBasicForm;
use YmPhp\Admin\Http\Forms\SystemSettingSafeForm;
use YmPhp\Admin\Http\Forms\SystemSettingModerationForm;
use YmPhp\Admin\Http\Forms\SystemSettingPaymentForm;
use YmPhp\Admin\Http\Forms\SystemSettingSiteCityConfigForm;
use YmPhp\Admin\Http\Forms\SystemSettingGuideConfigForm;
use YmPhp\Admin\Layout\Content;
use YmPhp\Admin\Widgets\Card;
use YmPhp\Admin\Http\Controllers\AdminController;

class SettingController extends AdminController
{
    public function basic(Content $content)
    {
        return $content
            ->title('参数配置')
            ->body(new Card(new SystemSettingBasicForm()));
    }
    public function safe(Content $content)
    {
        return $content
            ->title('参数配置')
            ->body(new Card(new SystemSettingSafeForm()));
    }
    public function moderation(Content $content)
    {
        return $content
            ->title('参数配置')
            ->body(new Card(new SystemSettingModerationForm()));
    }
    public function payment(Content $content)
    {
        return $content
            ->title('参数配置')
            ->body(new Card(new SystemSettingPaymentForm()));
    }
    public function siteCityConfig(Content $content)
    {
        return $content
            ->title('参数配置')
            ->body(new Card(new SystemSettingSiteCityConfigForm()));
    }
    public function guideConfig(Content $content)
    {
        return $content
            ->title('参数配置')
            ->body(new Card(new SystemSettingGuideConfigForm()));
    }



}

